package pretice.p3;

import java.util.ArrayList;
import java.util.Collections;

public class PrizeTest {
    public static void main(String[] args) {
        ArrayList<Integer> arrayList=new ArrayList<>();
        Collections.addAll(arrayList,10,5,20,50,100,200,500,800,2,80,300,700);
        Prize thread1=new Prize(arrayList);
        Prize thread2=new Prize(arrayList);
        thread1.setName("抽奖1");
        thread2.setName("抽奖2");
        thread1.start();
        thread2.start();

    }
}
